/**
 * 文件：sample_bean.java
 * 包名：com.ronri.ams.bean;   --- 正式发布时需要修正
 * 说明：样品bean
 * 作者：MS During
 * 日期：2017/5/15
 * 历史：
 */
package com.ronri.ams.bean;

import java.util.List;

public class SampleBean {

    /**
     * name : 蔬菜
     * barcode : 2000001
     * num : 1
     * base : 1G
     * address : 常州
     * source : 123
     * memo : adsfa
     * photos : [{"PhotoPath":"aadfasd","Latitude":0,"Longitude":0,"Address":"","PhotoDate":"2017-05-15","Url":"","isUpload":false,"isOperator":false}]
     */

    private int id;
    private String name = "";
    private String barcode = "";
    private String num = "";
    private String base = "";
    private String address = "";
    private String source = "";
    private String memo = "";
    private String hz = "";
    private String cardno = "";
    private String bz = "";
    private String cyfs = "";
    private String qfbz = "";
    private int stype;
    private List<PhotosBean> photos;

    // 默认蔬菜
    public SampleBean() {
        stype = 0;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStype() {
        return stype;
    }

    public void setStype(int stype) {
        this.stype = stype;
    }

    public String getHz() {
        return hz;
    }

    public void setHz(String hz) {
        this.hz = hz;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getCyfs() {
        return cyfs;
    }

    public void setCyfs(String cyfs) {
        this.cyfs = cyfs;
    }

    public String getQfbz() {
        return qfbz;
    }

    public void setQfbz(String qfbz) {
        this.qfbz = qfbz;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getBase() {
        return base;
    }

    public void setBase(String base) {
        this.base = base;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public List<PhotosBean> getPhotos() {
        return photos;
    }

    public void setPhotos(List<PhotosBean> photos) {
        this.photos = photos;
    }
}
